@use 'Variables.scss';
@use 'Coloring.scss';

body {
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  code {
    font-size: 0.9em;
    background-color: rgba(18, 18, 18, 0.15);
    border-radius: 0.25em;
    padding: 0.25em;
  }
  a {
    color: Variables.$blue;
    cursor: pointer;
    text-decoration: underline;
    svg {
      font-size: 1.2em;
      margin-bottom: -0.25em;
    }
  }  
  #root {
    .flexContainer {
      min-width: 25em;
      display: flex;
      flex-direction: row;
      margin-left: 5em;
      header {
        height: 2.5em;
        display: flex;
      }
      .flexItems {
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
      }
      &.hideNavigation {
        transition: margin-left 0.3s ease;
        margin-left: 0;
        #navigation {
          left: -5em;
        }
      }
      &.hideNavigation.disableAnimations {
        transition: none;
      }
    }
    .disableAnimations {
      .flexContainer {
        transition: none;
      }
    }
  }
  *::-webkit-scrollbar {
    background-color: transparent;
    width: 0.8em;
  }
}
